# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=py3-sphinxcontrib-lassodomain
_pkgname=sphinxcontrib-lassodomain
pkgver=0.4
pkgrel=6
pkgdesc="Sphinx lassodomain extension"
url="https://pypi.org/project/sphinxcontrib-lassodomain"
arch="noarch"
license="BSD-2-Clause"
depends="py3-sphinx"
makedepends="py3-setuptools"
subpackages="$pkgname-pyc"
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz
	fix-python3.patch"
builddir="$srcdir"/$_pkgname-$pkgver

replaces="py-sphinxcontrib-lassodomain" # Backwards compatibility
provides="py-sphinxcontrib-lassodomain=$pkgver-r$pkgrel" # Backwards compatibility

build() {
	python3 setup.py build
}

package() {
	python3 setup.py install --skip-build --root="$pkgdir"
}

sha512sums="527511a8342175e1f157705d76eb4c03e409d62024cb95dad98067765fb9321c4a93eea1a23d75b18d19eaf48c5dde496bcbe2789809eb11408c018e1972b7cf  sphinxcontrib-lassodomain-0.4.tar.gz
e883567885b2243e9ebca541220fc731a366b40f2553d2779751e61e306406c2f326201374834292fa4971864cafb72114136064deb653d431c5372c9979cc8b  fix-python3.patch"
